package wms

//响应报文
type ScanParam struct {
	WhId            string
	EmpId           string
	Type            string
	ContainerNo     string
	StorageRoomType string
	StorageRoomTag  string
	Position        string
}

func NewScanParam() *ScanParam {
	scanParam := new(ScanParam)
	scanParam.Type = "generalHandler"
	return scanParam
}

type PutawayParam struct {
	WhId            string
	EmpId           string
	Type            string
	ContainerNo     string
	StorageRoomType string
	StorageRoomTag  string
}

func NewPutawayParam() *PutawayParam {
	putawayParam := new(PutawayParam)
	putawayParam.Type = "generalHandler"
	return putawayParam
}

type ArrivedParam struct {
	WhId        string
	EmpId       string
	Type        string
	ContainerNo string
}

func NewArrivedParam() *ArrivedParam {
	arrivedParam := new(ArrivedParam)
	arrivedParam.Type = "generalHandler"
	return arrivedParam
}

type CarrierParam struct {
	CarrierNo   string
	ContainerNo string
}

type FetchParam struct {
	WhId            string
	EmpId           string
	Type            string
	ContainerNo     string
	StorageRoomType string
	StorageRoomTag  string
	Position        string
}

func NewFetchParam() *FetchParam {
	fetchParam := new(FetchParam)
	fetchParam.Type = "generalHandler"
	return fetchParam
}

type SizeView struct {
	Length int
	Width  int
	Height int
}

// 流程执行器参数结构体
type SnakerExecution struct {
	FuncName    string                 // 执行函数名
	NodeActorId string                 // 子任务编号
	TaskNo      string                 // 任务唯一编号
	Args        map[string]interface{} // 执行参数，各个流程节点上配置的动态参数
}
